<!--
  Generated template for the UnitCourseInfoPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar  color="mainColor">
    <ion-title>课程信息</ion-title>
  </ion-navbar>

</ion-header>


<ion-content>
  <div class="course-info">
    <div>{{courseName}}</div>
    <div>
      共{{unitCount}}单元
    </div>
  </div>
  <div class="course-box">
    <div>
      <p>
        授课对象
      </p>
      <span>
        {{className}}
      </span>
    </div>
    <div>
      <p>
        授课方式
      </p>
      <span>
        {{classend}}
      </span>
    </div>
    <div class="ex-plan">
      <p>
        考试安排
      </p>
      <span (click)="switchDisplay()">
        <ion-icon name="ios-arrow-down" *ngIf="showExamplan"></ion-icon>
        <ion-icon name="ios-arrow-up" *ngIf="!showExamplan"></ion-icon>
      </span>
    </div>
    <div *ngIf="showExamplan">{{examplan}}</div>
  </div>
  <!--考试计划？-->
  <!--<ion-list *ngIf='showPlan'>-->
    <!--{{examplan}}-->
  <!--</ion-list>-->

</ion-content>
